<?php /* Smarty version 2.6.20, created on 2013-04-22 15:32:58
         compiled from _core/pagecommon/_mvc/_control/handlepageb1confirmpreview.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', '_core/pagecommon/_mvc/_control/handlepageb1confirmpreview.tpl', 16, false),)), $this); ?>
function HandlePageB1ConfirmPreview(gui, operator, now, options) {
  this._gui = gui;
  this._operator = operator;
  this._now = now;
  this._options = options;
  
  this._query = DlmanageUtils.servConfirmPreview;
  
  this._createElements();
};

HandlePageB1ConfirmPreview.prototype._createElements = function() {
  var smryGui = GuiSmryServ.instance();
  var smryArgs = DlmanageUtils.servSmryArgs(smryGui, this._operator);

  var manager = (this._operator.type == '<?php echo ((is_array($_tmp=@USER_TYPE_MANAGER)) ? $this->_run_mod_handler('escape', true, $_tmp, 'javascript') : smarty_modifier_escape($_tmp, 'javascript')); ?>
') ? true : false;
  var supervise = (this._operator.type == '<?php echo ((is_array($_tmp=@USER_TYPE_CUSTOMER_SERVICE)) ? $this->_run_mod_handler('escape', true, $_tmp, 'javascript') : smarty_modifier_escape($_tmp, 'javascript')); ?>
') ? 0 : 1;
  var gui = GuiProduces.instance(this._gui.customerNo, this._gui.task, this._gui.search, this._gui.updated, this._gui.pages, this._gui.tasks);
  new HandleProduces(gui, null, { operator: this._operator, now: this._now, query: this._query, smryGui: smryGui, smryArgs: smryArgs, a: this._options.a, s: supervise, manager: manager });
};